﻿function playmy(value) {
	if(value==0){
		document.getElementById("myInfo").style.display="block";
		document.getElementById("newInfo").style.display="none";
	}else{
		document.getElementById("myInfo").style.display="none";
		document.getElementById("newInfo").style.display="block";
	}
	
}
function check(){
	
	if(document.getElementById("se_touser").value==1){
		
		if(document.getElementById("toUser").value==""){
			
			alert("请输入收件人姓名...");
			document.getElementById("toUser").focus();
			return false;
		}else if(document.getElementById("toPhone").value==""){
			
			alert("请输入收件人联系方式...");
			document.getElementById("toPhone").focus();
			return false;
		}else if(document.getElementById("toAddress").value==""){
			
			alert("请输入收件人地址...");
			document.getElementById("toAddress").focus();
			return false;
		}else if(document.getElementById("toPostCode").value==""){
			
			alert("请输入收件人邮编...");
			document.getElementById("toPostCode").focus();
			return false;
		}
	}
	return true;
	
}